package com.demo;

import com.method.Student;
import org.springframework.context.annotation.Bean;
import org.springframework.stereotype.Component;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 故我
 * Date: 2023-10-26
 * Time: 20:43
 */
//@Component
//public class StudentBeans1 {
//    @Bean
//    public Student student(){
//        Student student = new Student();
//        student.setId(101);
//        student.setAge(22);
//        student.setName("李四");
//
//        return student;
//    }
//}
